/*
 * MessageEvent.java
 *
 * Created on 26 January 2005, 00:08
 */

package com.agentfactory.platform.mts;

/**
 *
 * @author  Administrator
 */
public class MessageEvent {
    public static final String SEND                                 = "send";
    public static final String RECEIVE                              = "receive";
    
    private String type;
    private Message message;
    
    /** Creates a new instance of MessageEvent */
    public MessageEvent(String type, Message message) {
        this.type = type;
        this.message = message;
    }
    
    public String getType() {
        return type;
    }
    
    public Message getMessage() {
        return message;
    }
}
